# -*- coding: utf-8 -*-
import os

class FileHelper(object):

    @staticmethod
    def createFile(dirpath,fileName,content):
        if os.path.exists(dirpath)==False:
            os.makedirs(dirpath)
        with open(dirpath+os.path.sep+fileName,'wb') as f:
            f.write(content)